﻿#region

using System.Linq.Expressions;
using Vin.Extension.SqlSugar.SugarFilter;

#endregion

namespace Vin.Extension.SqlSugar.Repository;

public interface IVinBaseLogicRepository<TEntity> : IVinBaseRepository<TEntity> where TEntity : class, IDeleted, new()
{
    public bool LogicDelete(Expression<Func<TEntity, bool>> whereExpression);

    public Task<bool> LogicDeleteAsync(Expression<Func<TEntity, bool>> whereExpression);
}